package com.tourismhengyang.beans;

public class LocalInfo {
	private int lid;
	private String lname;
	private String ltext;
	private String ltype;
	private String lseason;
	private String ltime;
	private String laddr;
	private String ltel;
	private String lpic;
	private String lvideo;
	private String lintrouduce;
	
	@Override
	public String toString() {
		return "LocalInfo [lid=" + lid + ", lname=" + lname + ", ltext=" + ltext + ", ltype=" + ltype + ", lseason="
				+ lseason + ", ltime=" + ltime + ", laddr=" + laddr + ", ltel=" + ltel + ", lpic=" + lpic + ", lvideo="
				+ lvideo + ", lintrouduce=" + lintrouduce + "]";
	}

	public int getLid() {
		return lid;
	}

	public void setLid(int lid) {
		this.lid = lid;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getLtext() {
		return ltext;
	}

	public void setLtext(String ltext) {
		this.ltext = ltext;
	}

	public String getLtype() {
		return ltype;
	}

	public void setLtype(String ltype) {
		this.ltype = ltype;
	}

	public String getLseason() {
		return lseason;
	}

	public void setLseason(String lseason) {
		this.lseason = lseason;
	}

	public String getLtime() {
		return ltime;
	}

	public void setLtime(String ltime) {
		this.ltime = ltime;
	}

	public String getLaddr() {
		return laddr;
	}

	public void setLaddr(String laddr) {
		this.laddr = laddr;
	}

	public String getLtel() {
		return ltel;
	}

	public void setLtel(String ltel) {
		this.ltel = ltel;
	}

	public String getLpic() {
		return lpic;
	}

	public void setLpic(String lpic) {
		this.lpic = lpic;
	}

	public String getLvideo() {
		return lvideo;
	}

	public void setLvideo(String lvideo) {
		this.lvideo = lvideo;
	}

	public String getLintrouduce() {
		return lintrouduce;
	}

	public void setLintrouduce(String lintrouduce) {
		this.lintrouduce = lintrouduce;
	}

	public LocalInfo(int lid, String lname, String ltext, String ltype, String lseason, String ltime, String laddr,
			String ltel, String lpic, String lvideo, String lintrouduce) {
		super();
		this.lid = lid;
		this.lname = lname;
		this.ltext = ltext;
		this.ltype = ltype;
		this.lseason = lseason;
		this.ltime = ltime;
		this.laddr = laddr;
		this.ltel = ltel;
		this.lpic = lpic;
		this.lvideo = lvideo;
		this.lintrouduce = lintrouduce;
	}

	public LocalInfo() {
		super();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((laddr == null) ? 0 : laddr.hashCode());
		result = prime * result + lid;
		result = prime * result + ((lintrouduce == null) ? 0 : lintrouduce.hashCode());
		result = prime * result + ((lname == null) ? 0 : lname.hashCode());
		result = prime * result + ((lpic == null) ? 0 : lpic.hashCode());
		result = prime * result + ((lseason == null) ? 0 : lseason.hashCode());
		result = prime * result + ((ltel == null) ? 0 : ltel.hashCode());
		result = prime * result + ((ltext == null) ? 0 : ltext.hashCode());
		result = prime * result + ((ltime == null) ? 0 : ltime.hashCode());
		result = prime * result + ((ltype == null) ? 0 : ltype.hashCode());
		result = prime * result + ((lvideo == null) ? 0 : lvideo.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LocalInfo other = (LocalInfo) obj;
		if (laddr == null) {
			if (other.laddr != null)
				return false;
		} else if (!laddr.equals(other.laddr))
			return false;
		if (lid != other.lid)
			return false;
		if (lintrouduce == null) {
			if (other.lintrouduce != null)
				return false;
		} else if (!lintrouduce.equals(other.lintrouduce))
			return false;
		if (lname == null) {
			if (other.lname != null)
				return false;
		} else if (!lname.equals(other.lname))
			return false;
		if (lpic == null) {
			if (other.lpic != null)
				return false;
		} else if (!lpic.equals(other.lpic))
			return false;
		if (lseason == null) {
			if (other.lseason != null)
				return false;
		} else if (!lseason.equals(other.lseason))
			return false;
		if (ltel == null) {
			if (other.ltel != null)
				return false;
		} else if (!ltel.equals(other.ltel))
			return false;
		if (ltext == null) {
			if (other.ltext != null)
				return false;
		} else if (!ltext.equals(other.ltext))
			return false;
		if (ltime == null) {
			if (other.ltime != null)
				return false;
		} else if (!ltime.equals(other.ltime))
			return false;
		if (ltype == null) {
			if (other.ltype != null)
				return false;
		} else if (!ltype.equals(other.ltype))
			return false;
		if (lvideo == null) {
			if (other.lvideo != null)
				return false;
		} else if (!lvideo.equals(other.lvideo))
			return false;
		return true;
	}
}
